package site.jlopen.service.intf.project;

import java.util.List;

import site.jlopen.components.entity.GrapGroup;
import site.jlopen.components.entity.GraphNodeParam;
import site.jlopen.entity.BaseResponse;
import site.jlopen.entity.grap.RenderAttrValueInfo;

public interface GraphService {

	List<GrapGroup> getGrapGroup();

	BaseResponse<String> saveGraph(Long flowId, String grapJson);

	BaseResponse<String> loadGraph(Long flowId);

	BaseResponse<String> saveNodeAttr(GraphNodeParam param);

	BaseResponse<GraphNodeParam> loadNodeAttr(Long projectId, Long flowId, String graphId, String nodeCode);

	BaseResponse<RenderAttrValueInfo> renderAttrValue(Long projectId, Long flowId, String graphId, String nodeCode, String attrCode);
}
